home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / ichar1.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.7 KB  |  48 lines

  1. /* Copyright (C) 1998, 2000 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: ichar1.h,v 1.3 2000/09/19 19:00:42 lpd Exp $ */
  20. /* Type 1 / Type 2 character rendering operator procedures */
  21.  
  22. #ifndef ichar1_INCLUDED
  23. #  define ichar1_INCLUDED
  24.  
  25. /* ---------------- Public ---------------- */
  26.  
  27. /* Render a Type 1 or Type 2 outline. */
  28. /* This is the entire implementation of the .type1/2execchar operators. */
  29. int charstring_execchar(P2(i_ctx_t *i_ctx_p, int font_type_mask));
  30.  
  31. /* ---------------- Internal ---------------- */
  32.  
  33. /*
  34.  * Get a Type 1 or Type 2 glyph outline.  This is the glyph_outline
  35.  * procedure for the font.
  36.  */
  37. font_proc_glyph_outline(zchar1_glyph_outline);
  38.  
  39. /*
  40.  * Get a glyph outline given a CharString.  The glyph_outline procedure
  41.  * for CIDFontType 0 fonts uses this.
  42.  */
  43. int zcharstring_outline(P5(gs_font_type1 *pfont, const ref *pgref,
  44.                const gs_const_string *pgstr,
  45.                const gs_matrix *pmat, gx_path *ppath));
  46.  
  47. #endif /* ichar1_INCLUDED */
  48.